package com.example.itemp;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;

public class SplashActivity extends Activity {

	@Override
	protected void onCreate(Bundle saveInstanceState){
		requestWindowFeature(Window.FEATURE_NO_TITLE);  
		super.onCreate(saveInstanceState);
		setContentView(R.layout.splash);
		
		new Handler().postDelayed(new Runnable(){
			@Override
			public void run(){
				startActivity(new Intent(SplashActivity.this,MainActivity.class));
				finish();
			}
		},2000);
	}
	
}